html[dir="rtl"] #viewImages.toolbarButton::before {
    transform: scaleX(-1);
}

#viewImages::before {
    background-image: url("chrome://chartero/skin/images.png");
    display: inline-block;
    vertical-align: top;
    width: 16px;
    height: 16px;
    content: "";
}

#viewImages.toggled::before {
    background-image: url("chrome://chartero/skin/images-toggled.png");
}

#imagesView {
    overflow: auto;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.previewImg {
    border: 1px solid gray;
    margin: 10px;
    transition: all 0.6s;
}

.previewImg:hover {
    box-shadow: 0 0 8px turquoise;
}

.hr-text {
    width: 100%;
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    color: black;
    text-align: center;
    height: 1.5em;
    opacity: .5;
}

.hr-text::before {
    content: '';
    background: linear-gradient(to right, transparent, #818078, transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

.hr-text::after {
    content: attr(data-content);
    position: relative;
    display: inline-block;
    color: black;

    padding: 0 .5em;
    line-height: 1.5em;
    color: #818078;
    background-color: #D2D8E2;
}
